#pragma once

enum EERROR
{
	ER_OK		= 0x00,
	ER_NOT_IMPLEMENTED,
	ER_NO_PROTOCOL,
	ER_OPEN,
	ER_CLOSE,
	ER_WRITE,
	ER_READ,
	ER_SET_SPEED,
	ER_SET_TIMEOUT,
	ER_INVALID_DATA,
	ER_SIZE,
	ER_DATA,
	ER_WRONG_APP,
	ER_CMD,
	ER_STATE,
	ER_NO_TRANSPORT,
	ER_CRC,
	ER_EXEC_CMD,
	ER_RCV_DATA,
	ER_SAM_FOUND,
	ER_SAM63_FOUND,
	ER_SAM64_FOUND_DATADEL,
	ER_SAM64_FOUND_DATAMEM,
	ER_SAM64_FOUND_MEMFULL,
	ER_MT_NOTSUPPORTED,
	ER_NO_TAG,
	ER_OTHER_ERROR,
	ER_UNKNOWN	= -1,
};